#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
void swap(int* x, int* y)
{
	if (*x < *y)
	{
		int tmp = *x;
		*x = *y;
		*y = tmp;
	}
}
int main()
{
	int a = 0, b = 0, c = 0;
	scanf("%d %d %d", &a, &b, &c);
	swap(&a, &b);
	swap(&a, &c);
	swap(&b, &c);

	printf("%d %d %d", a, b, c);
	return 0;
}